package com.agger.eurekaclientuserservice.exception;

import com.agger.eurekacommonapi.enums.CommonExceptionEnums;
import com.agger.eurekacommonapi.exception.BusinessRuntimeException;

/**
 * @classname: UserException
 * @description:
 * @author chenhx
 * @date 2020-05-26 13:09:45
 */
public class UserException extends BusinessRuntimeException {

    private final static String APP = "eureka-client-user-service";

    public UserException() {
    }

    public UserException(String message, Throwable throwable) {
        super(APP, message, throwable);
    }

    public UserException(CommonExceptionEnums enums, String message) {
        super(APP, enums, message);
    }
}
